Followup r61957, define $index
authorChad Horohoe <demon@users.mediawiki.org>
Thu, 4 Feb 2010 14:55:53 +0000 (14:55 +0000)
committerChad Horohoe <demon@users.mediawiki.org>
Thu, 4 Feb 2010 14:55:53 +0000 (14:55 +0000)
includes/api/ApiQueryRevisions.php

index 4a2af3a..bf2b2ba 100644 (file)
@@ -142,6 +142,9 @@ class ApiQueryRevisions extends ApiQueryBase {
                $this->fld_user = isset ( $prop['user'] );
                $this->token = $params['token'];
 
+               // Possible indexes used
+               $index = array();
+
                if ( !is_null( $this->token ) || $pageCount > 0 ) {
                        $this->addFields( Revision::selectPageFields() );
                }